package city.spring.modules.medicalstation.doctorsOrderItem.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 实体类：医嘱项目
 *
 * @author 谢金婷
 * @date 2020-10-29 10:57:28
 */
@Data
@TableName("doctors_order_item")
public class DoctorsOrderItemEntity implements Serializable {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 项目名称
     */
    private String itemName;

    /**
     * 项目编号
     */
    private String itemCode;

    /**
     * 类型
     */
    private String type;

    /**
     * 规格
     */
    private String specification;

    /**
     * 剂量单位
     */
    private String dosageUnit;

    /**
     * 单价
     */
    private BigDecimal unitprice;

    /**
     * 创建时间
     */
    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime gmtModified;
}